package com.demo.model;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

/**
 * 标签对象
 * @author: cyj
 **/
@Data
@Accessors(chain = true)
@Document(indexName = "luna_label")
public class Label {
    @Id
    private Long id;
    private String name;
    private List<Long> userId;
}
